package pers.cj.pdos.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenj
 * @since 2020-04-05
 */
public class HouseInGoods extends Model<HouseInGoods> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 入库单id
     */
    private String houseInId;

    /**
     * 待入库单商品表id
     */
    private String houseWaitInGoodsId;

    /**
     * 进货单商品id
     */
    private String inGoodsGoodsId;

    /**
     * 销售退货商品id
     */
    private String refundGoodsId;

    /**
     * 调拨单商品id
     */
    private String goodsTransferGoodsId;

    /**
     * 借入单商品id
     */
    private String borrowInGoodsId;

    /**
     * 借出归还单商品id
     */
    private String borrowOutBackGoodsId;

    /**
     * 商品id
     */
    private String goodsId;

    /**
     * 商品数量
     */
    private BigDecimal number;

    /**
     * 单位id
     */
    private String unitId;

    /**
     * 换算倍数
     */
    private BigDecimal times;

    /**
     * 备注
     */
    private String remark;

    private String companyId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getHouseInId() {
        return houseInId;
    }

    public void setHouseInId(String houseInId) {
        this.houseInId = houseInId;
    }
    public String getHouseWaitInGoodsId() {
        return houseWaitInGoodsId;
    }

    public void setHouseWaitInGoodsId(String houseWaitInGoodsId) {
        this.houseWaitInGoodsId = houseWaitInGoodsId;
    }
    public String getInGoodsGoodsId() {
        return inGoodsGoodsId;
    }

    public void setInGoodsGoodsId(String inGoodsGoodsId) {
        this.inGoodsGoodsId = inGoodsGoodsId;
    }
    public String getRefundGoodsId() {
        return refundGoodsId;
    }

    public void setRefundGoodsId(String refundGoodsId) {
        this.refundGoodsId = refundGoodsId;
    }
    public String getGoodsTransferGoodsId() {
        return goodsTransferGoodsId;
    }

    public void setGoodsTransferGoodsId(String goodsTransferGoodsId) {
        this.goodsTransferGoodsId = goodsTransferGoodsId;
    }
    public String getBorrowInGoodsId() {
        return borrowInGoodsId;
    }

    public void setBorrowInGoodsId(String borrowInGoodsId) {
        this.borrowInGoodsId = borrowInGoodsId;
    }
    public String getBorrowOutBackGoodsId() {
        return borrowOutBackGoodsId;
    }

    public void setBorrowOutBackGoodsId(String borrowOutBackGoodsId) {
        this.borrowOutBackGoodsId = borrowOutBackGoodsId;
    }
    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }
    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
    public BigDecimal getTimes() {
        return times;
    }

    public void setTimes(BigDecimal times) {
        this.times = times;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "HouseInGoods{" +
            "id=" + id +
            ", houseInId=" + houseInId +
            ", houseWaitInGoodsId=" + houseWaitInGoodsId +
            ", inGoodsGoodsId=" + inGoodsGoodsId +
            ", refundGoodsId=" + refundGoodsId +
            ", goodsTransferGoodsId=" + goodsTransferGoodsId +
            ", borrowInGoodsId=" + borrowInGoodsId +
            ", borrowOutBackGoodsId=" + borrowOutBackGoodsId +
            ", goodsId=" + goodsId +
            ", number=" + number +
            ", unitId=" + unitId +
            ", times=" + times +
            ", remark=" + remark +
            ", companyId=" + companyId +
        "}";
    }
}
